option = {
    backgroundColor: '#031d33',
    animation: true,
    grid: {
      top: '5%',
      bottom: '15%',
      right: '5%',
    },
    xAxis: {
      data: ['消防烟感', '摄像机', '环境烟感', '路灯', '地磁'],
      axisLine: {
        show: false, //隐藏X轴轴线
      },
      axisTick: {
        show: false, //隐藏X轴轴线
      },
      splitLine: {
        show: true,
        lineStyle: {
          color: 'rgba(77, 128, 254, 0.2)',
          width: 2,
        },
      },
      axisLabel: {
        show: true,
        margin: 14,
        fontSize: 16,
        textStyle: {
          color: '#65D5FF', //X轴文字颜色
        },
      },
    },
    yAxis: [
      {
        type: 'value',
        gridIndex: 0,
        min: 0,
        max: 100,
        interval: 25,
        // splitNumber: 4,
        splitLine: {
          show: true,
          lineStyle: {
            color: 'rgba(77, 128, 254, 0.2)',
            width: 2,
          },
        },
        axisTick: {
          show: false,
        },
        axisLine: {
          show: true,
          lineStyle: {
            color: 'rgba(77, 128, 254, 0.2)',
          },
        },
        axisLabel: {
          show: true,
          margin: 14,
          fontSize: 16,
          textStyle: {
            color: '#65D5FF',
          },
        },
      },
    ],
    series: [
      {
        // 分隔
        type: 'pictorialBar',
        itemStyle: {
          normal: {
            color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
              {
                offset: 0,
                color: 'rgba(146, 225, 255, 1)',
              },
              {
                offset: 1,
                color: 'rgba(0, 151, 251, 1)',
              },
            ]),
          },
        },
        symbolRepeat: true,
        symbolMargin: 2,
        symbol: 'roundRect',
        symbolClip: false,
        symbolSize: [30, 10],
        symbolPosition: 'start',
  
        data: [21, 43, 56, 32, 64],
        width: 2,
        z: 0,
        zlevel: 1,
      },
    ],
    dataZoom: [
      {
        type: 'slider',
        show: false,
        xAxisIndex: [0],
        endValue: 4,
        startValue: 0,
      },
    ],
  };
  